package com.chen.service.impl;

import com.chen.entity.Mate;
import com.chen.mapper.MateMapper;
import com.chen.service.IMateService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Y·C
 * @since 2023-04-23
 */
@Service
public class MateServiceImpl extends ServiceImpl<MateMapper, Mate> implements IMateService {

    @Override
    public Mate selectById(Integer id) {

        Mate mate = baseMapper.selectById(id);

        return mate;
    }
}
